package com.yd.domain.business;

import com.yd.domain.commom.DomainObject;

import java.util.Date;

/**
 * @author zy
 * @create 2018-03-07 9:15
 * @desc 公告
 **/
public class Notice extends DomainObject<Notice> {
    private Date publishTime=new Date();//发布时间
    private String publishUser;//发布人
    private String title;//标题
    private String des;//描述
    private String status;//状态
    /**
     * @Author: zy
     * @Desc: 条件查询新增字段
     * @Date:  2018/3/9
     * @Param
     */
    private String statusName;//状态
    private String publishUserName;//发布人

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getPublishUser() {
        return publishUser;
    }

    public void setPublishUser(String publishUser) {
        this.publishUser = publishUser;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getPublishUserName() {
        return publishUserName;
    }

    public void setPublishUserName(String publishUserName) {
        this.publishUserName = publishUserName;
    }

    @Override
    public String toString() {
        return "Notice{" +
                " publishTime=" + publishTime +
                ", publishUser='" + publishUser + '\'' +
                ", title='" + title + '\'' +
                ", des='" + des + '\'' +
                ", status='" + status + '\'' +
                ", statusName='" + statusName + '\'' +
                ", publishUserName='" + publishUserName + '\'' +
                '}';
    }
}
